package com.lgx.common.service;

import java.util.List;

import com.lgx.common.entity.IntraCity;
import com.lgx.common.exception.DataException;

public interface IIntraCityService {
	
	public IntraCity createIntraCity(IntraCity city) throws DataException;
	public IntraCity updateIntraCity(IntraCity city) throws DataException;
	public void deleteIntraCity(IntraCity city) throws DataException;
	public void deleteIntraCity(String id) throws DataException;
	
	public IntraCity findIntraCityById(String id);
	
	public List<IntraCity> findIntraCityList();
	
	/**
	 * 
	 * @param ip ip地址
	 * @param dataName 数据源名称
	 * @param filePath 数据源路径
	 * @return
	 */
	public IntraCity findIntraCityByIP(String ip,String dataName,String filePath);
}
